package com.sunny.design.factory.factorymode;

import com.sunny.design.factory.ICourse;
import com.sunny.design.factory.JavaCourse;

/**
 * @author Sunny
 * @date 2019/12/28 16:06
 */
public class JavaFactory implements ICourseFactory {
    @Override
    public ICourse create() {
        return new JavaCourse();
    }
}
